import request from '@/utils/request.js'

// 广告点击
export const getList = (params) => {
    return request({
        url: 'api/data/click',
        method: 'get',
        params
    })
}

// ecpm数据展示
export const geEcpmList = (params) => {
    return request({
        url: 'api/data/ecpm',
        method: 'get',
        params
    })
}

// 广告曝光
export const getAdShowList = (params) => {
    return request({
        url: 'api/data/bannel',
        method: 'get',
        params
    })
}

// 实时扣量
export const gsetAmount = (params) => {
    return request({
        url: 'api/data/amount',
        method: 'get',
        params
    })
}

// 实时更新审核状态
export const checkadvertstatus = (params) => {
    return request({
        url: 'api/common/checkadvertstatus',
        method: 'get',
        params
    })
}

// 广告预加载统计 & 进入页面统计
export const preloadCount = (params) => {
    return request({
        url: 'api/data/preload',
        method: 'get',
        params
    })
}

// 设备明细
export const modelStat = (params) => {
    return request({
        url: 'api/data/model',
        method: 'get',
        params
    })
}

// 视频观看明细
export const videoStat = (params) => {
    return request({
        url: 'api/data/uservideo',
        method: 'get',
        params
    })
}

// 页面计数数据展示（用户进入页面计数）
export const pagecountlist = (params) => {
    return request({
        url: 'api/data/pagecountlist',
        method: 'get',
        params
    })
}

// 黑名单数据
export const blacklist = (params) => {
    return request({
        url: 'api/data/black',
        method: 'get',
        params
    })
}

// 曝光状态码分组
export const statusCodeGroup = (params) => {
    return request({
        url: 'api/data/bannelcode',
        method: 'get',
        params
    })
}

// 统计快应用，向游戏发送的请求（发送）
export const sendDataCount = (params) => {
    return request({
        url: 'api/data/gamelist',
        method: 'get',
        params
    })
}

// 统计游戏，向快应用发送的请求（接收）
export const ReceiveDataCount = (params) => {
    return request({
        url: 'api/data/gamemsg',
        method: 'get',
        params
    })
}

// 游戏停留时长统计
export const userGameTime = (params) => {
    return request({
        url: 'api/data/searchStatisticsTime',
        method: 'get',
        params
    })
}